package com.example.train.mapper;

import com.example.train.model.SysAdmin;

import java.util.List;

public interface SysAdminMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysAdmin record);

    int insertSelective(SysAdmin record);

    SysAdmin selectByPrimaryKey(Long id);

    SysAdmin selectByUsername(String username);

    List<SysAdmin> selectAll();

    int updateByPrimaryKeySelective(SysAdmin record);

    int updateByPrimaryKey(SysAdmin record);
}
